int *p;

int foo(int i)
{
    int n;
    n++;
    n = p[i];
}